package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.db.basic.BasicMaterials;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaterialOrderVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long materialId;

    private Long orderId;

    private String materialTypeName;

    private List<BasicMaterials> materialList;

    private Integer applicationType;

    private String materialName;

    private Integer quantity;

    private Integer price;

    private Integer total;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
